[Back]
Rhapsody Developer Release Copyright 1998 by
Apple Computer, Inc. All Rights Reserved.
Rhapsody Developer Release Notes:
TextEdit
TextEdit is a small but powerful word-processing application based
on the Yellow Box. It is written in Java, using the Java Yellow Box
APIs. (The TextEdit application in Developer Release 1 was written in
Objective-C using the Objective-C version of the same APIs.)
Most of TextEdit's word-processing capabilities come from the
Yellow Box text system. These capabilities include:
- Editing rich text with graphics
- Support for Unicode and other encodings (if you have installed
the Japanese package, you can read, write, and edit Japanese files
on any Rhapsody system)
- Reading and writing RTF and reading HTML
- Ruler for setting paragraph properties
- Advanced typographical features such as hyphenation, kerning,
ligatures, and baseline offsets
- Spell checking and correction
- Ability to access text services provided by other Yellow Box
applications (such MailViewer's "Mail Text")
Additional features of TextEdit include:
- Ability to specify explicitly the character encoding to be
used for each opened or saved file.
Plain text files from different operating systems often use
different encodings for international and special characters; if
the default encoding choice that TextEdit uses when it opens a
file turns out to be wrong, the user can specify the encoding
through the pop-up menu in the Open panel. The default choice,
"Automatic," tells TextEdit to use either the default eight-bit
encoding of the system or Unicode.TextEdit can usually
differentiate an eight-bit plain text file from a Unicode file, so
it will choose the appropriate one.
Similarly, the user can use the encoding pop-up menu in the Save
panel to specify explicitly the encoding for a saved file. By
default TextEdit uses the encoding used when the file was
opened.
You can set the default settings of these pop-ups items through
the Preferences panel.
- Loading rich text files without interpreting the rich text;
this allows the user to see and edit HTML tags (for instance)
directly.
- A "Wrap to Page" mode, which presents the document wrapped to
the current page size (as opposed to the window size), thus giving
the user a simple WYSIWYG representation of the pages. This mode
also allows zooming.
- A simple non-modal find panel with replace capability.
- Services ("Open File" and "Open Selection") to allow other
applications to open files and text in TextEdit.
TextEdit source files are installed with the development
environment in the examples directory (on Rhapsody
/System/Developer/Examples/Java/AppKit/TextEdit; on
Windows in Developer/Examples/Java/AppKit/TextEdit
under the directory where you installed the Yellow Box).